package com.zhiying.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.zhiying.domain.CMS_Organization;
import com.zhiying.domain.CMS_User;
import com.zhiying.page.BasePageDTO;
import com.zhiying.page.PageInfo;

public interface IOrganizationService {

	BasePageDTO<CMS_Organization> selectCMSOrganizationAll(@Param("search")String search,@Param("pageInfo")PageInfo pageInfo);

	int count(@Param("search")String search);
	
	int updateStatus(@Param("organizationId")int organizationId);

	CMS_Organization seelctOrganizationById(@Param("organizationId")int organizationId);

	int selectDeleteCount(@Param("organizationId")int organizationId);
	   
    int deleteOrg(@Param("organizationId")int organizationId);
    
    BasePageDTO<CMS_User> selectOrgInfo(@Param("search")String search,@Param("pageInfo")PageInfo pageInfo,@Param("organizationId")int organizationId);

    int selectOrgCounts(@Param("organizationId")int organizationId,@Param("search")String search);
}
